<%--
  Created by IntelliJ IDEA.
  User: VULCAN
  Date: 2021/2/20
  Time: 20:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>产品列表</title>
    <a href="index.jsp">返回主页</a>
    <table border="1">
        <tr>
            <td>id</td>
            <td>产品名称</td>
            <td>产品价格</td>
            <td>产品描述</td>

        </tr>
        <c:forEach var="product" items="${productList}">
            <tr>
                <td>${product.id}</td>
                <td>${product.productName}</td>
                <td>${product.price}</td>
                <td>${product.description}</td>

            </tr>

        </c:forEach>
    </table>
</head>
<body>

</body>
</html>
